<div class="ciuusers index">
	<?php $tokens=array( 0=> "", 1=>"Estudiantes" )  ?>
	<?php echo $this->element("breadcrumb", array('tokens'=>$tokens) ); ?>
	
	<?php echo $this->element('searchform', array('url'=>'/ciu/ciuusers/indexstudent', 'inputname'=>'data[Ciuuser][document]' , 'inputid'=>'CiuuserDocument') ) ?>
	<div class="clearfix">&nbsp;</div>
	<table class="zebra" cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('document');?></th>
			
			<th><?php echo $this->Paginator->sort('first_names');?></th>
			<th><?php echo $this->Paginator->sort('last_names');?></th>
			<th><?php echo $this->Paginator->sort('email');?></th>
                        <th><?php echo $this->Paginator->sort('ciuuserstate_id');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	</thead>
	<?php
	$i = 0;
	foreach ($ciuusers as $ciuuser):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $ciuuser['Ciuuser']['id']; ?>&nbsp;</td>
		<td><?php echo $ciuuser['Ciuuser']['document']; ?>&nbsp;</td>
		
		<td><?php echo $ciuuser['Ciuuser']['first_names']; ?>&nbsp;</td>
		<td><?php echo $ciuuser['Ciuuser']['last_names']; ?>&nbsp;</td>
		
		<td><?php echo $ciuuser['Ciuuser']['email']; ?>&nbsp;</td>
                <td><?php echo $ciuuser['Ciuuserstate']['name']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'viewstudent', $ciuuser['Ciuuser']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'editstudent', $ciuuser['Ciuuser']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<div class="paginatorcounter">
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</div>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>|
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>